package com.example.xwcommon.service.fallback;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xwcommon.entity.Comment;
import com.example.xwcommon.service.CommentService;
import com.example.xwcommon.vo.Response;
import org.springframework.stereotype.Service;

@Service
public class FallBackCommentServiceImpl implements CommentService {
    @Override
    public Response<Comment> addComment(Integer wbid, String content, String userloginname) {
        return new Response<>(600,"服务不可用",null);
    }

    @Override
    public Response<Page<Comment>> showListByWeibo(Integer wbid, Integer pageNum, Integer pageSize, Integer state) {
        return new Response<>(600,"服务不可用",null);
    }

    @Override
    public Response<Page<Comment>> showListByUser(String userloginname, Integer pageNum, Integer pageSize, Integer state) {
        return new Response<>(600,"服务不可用",null);
    }

    @Override
    public Response<Integer> removeComment(Integer cmid) {
        return new Response<>(600,"服务不可用",null);
    }

    @Override
    public Response<Comment> updateState(Integer cmId, Integer state) {
        return new Response<>(600,"服务不可用",null);
    }
}
